﻿using Infrastructure.Models.Bases.Auditing;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.Models.Bases
{
    public class BaseAuditedEntity:BaseEntity,IAudited
    {
        /// <summary>
        /// 创建者Id
        /// 非必填
        /// </summary>     
        [SugarColumn(IsNullable =true, ColumnDescription = "创建者Id")]
        public long? CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// 非必填
        /// </summary>     
        [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改者Id
        /// 非必填
        /// </summary>   
        [SugarColumn(IsNullable = true, ColumnDescription = "更新时间")]
        public long? ModifyUserId { get; set; }
        /// <summary>
        /// 更新时间
        /// 非必填
        /// </summary>     
        [SugarColumn(IsNullable = true, ColumnDescription = "更新时间")]
        public DateTime? ModifyTime { get; set; }
        
    }
}
